package com.api.shopapi.service;


import com.api.shopapi.entity.VerificationCodeLimit;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface VerificationCodeLimitService {

    int insert(VerificationCodeLimit verificationCodeLimit);

    int delete(String verificationCodeLimitCode);

    int update(VerificationCodeLimit verificationCodeLimit);

    List<VerificationCodeLimit> getList();

    VerificationCodeLimit getByVerificationCodeLimitCode(String verificationCodeLimitCode);

    VerificationCodeLimit getByIP(String iP);

}
